﻿CREATE TRIGGER CustomerLoans_Tracking_Update
ON [dbo].[CustomerLoans] 
AFTER Update
AS 
BEGIN
	UPDATE Sync.CustomerLoans_Tracking 
	SET LastUpdatedDate  = getdate()
    FROM Sync.CustomerLoans_Tracking s JOIN INSERTED i
    ON s.LoanID = i.LoanID
END














